package com.tvein.sanguo.room.controller
{
	//flash
	//pureMVC
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand;
	//custom
	import com.tvein.sanguo.room.common.GameConstants;
	import com.tvein.sanguo.room.view.RoomMediator;
//
	public class RoomClear extends SimpleFabricationCommand implements ICommand
	{
		private var roomMediator:RoomMediator;
		
		override public function execute(notification:INotification) : void
		{
			roomMediator = facade.retrieveMediator(RoomMediator.NAME) as RoomMediator;
			roomMediator.roomShell.clearButton();
		}
	}
}